public class Example13 {
    public static void main (String[]args){
        int x=1;//定义变量x，初始值为1
        do {
            System.out.println("x="+x);//打印x的值
            x++;
        }while (x<=4);
    }
}
